import {dmServer} from '../tools/server'

export class folderService {
  static findAllFolders (data) { // 查询文件夹
    return dmServer.connection('POST', '/folder/findFolders', data)
  }

  static addFolder (data) {
    return dmServer.connection('POST', '/folder/addFolder', data)
  }

  static folderRename (data) {
    return dmServer.connection('POST', '/folder/folderRename', data)
  }

  static findFolderAttribute (data) {
    return dmServer.connection('POST', '/folder/findFolderAttribute', data)
  }
}
